import request from '@/utils/request'

// 查询工商注销列表
export function listFundCancellation(query) {
  return request({
    url: '/cancellation/fundCancellation/list',
    method: 'get',
    params: query
  })
}

// 查询工商注销详细
export function getFundCancellation(id) {
  return request({
    url: '/cancellation/fundCancellation/' + id,
    method: 'get'
  })
}

// 保存工商注销
export function saveFundCancellation(data) {
  return request({
    url: '/cancellation/fundCancellation/save',
    method: 'post',
    data: data
  })
}

// 删除工商注销
export function delFundCancellation(id) {
  return request({
    url: '/cancellation/fundCancellation/' + id,
    method: 'delete'
  })
}
